[Back]

MacOS X Server Release Notes Copyright \xa9 1998 by Apple Computer, Inc. All Rights Reserved.

Mac OS X Server Developer Release Notes:
MallocDebug

This file contains release notes for the MallocDebug Rhapsody Developer Application . MallocDebug is used to measure the dynamic memory usage of applications and to find memory leaks. MallocDebug can measure and analyze all allocated memory in an application and can measure the memory allocated since a given point in time. MallocDebug also contains a conservative garbage detector with which to detect memory leaks.

New Features

The MallocDebug user interface has been modified to improve the applications usability as well as its consistency with other Rhapsody developer applications. Please refer to the online help documentation which reflects all changes made to the application.

Using MallocDebug

Launching the MallocDebug application will bring up the MallocDebug main window. The  Browse button is used to select an application to monitor. This displays a  Select panel from which to choose the application to monitor.  The selected application appears in the Executable field of the main window. The Arguments field can be used to specify any arguments required by the application.

The Launch button executes the selected application. When launched,  the application is dynamically linked against a special version of malloc() defined in /usr/lib/libMallocDebug.dylib. This enables MallocDebug to capture the memory allocation information. After the application has been launched, MallocDebug connects to it, retrieves the memory data, and displays it in the main window browser. Once the application has sucessfully launched and connected to MallocDebug, the remaining items in the main window become available. For more information on using MallocDebug see the MallocDebug documentation (accessed through the Help menu).

Known Problems

The following bugs are known in the current Rhapsody release:

Reference    2200482

Problem    Find Previous command is buggy.

Description    Choosing the Edit->Find->Previous command may result in an error message displayed to the console.

[NSConcreteMutableArray objectAtIndex]: index (1) beyond bounds (1)

Bugs Fixed in this Release

The following bugs have been fixed since the Rhapsody DR2  release:

Reference    2203369

Problem    MallocDebug Crashes After Quitting Application Being Examined